﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Common.Logging;
using KeepAliveHttp.Http;
using Quartz;

namespace KeepAliveHttp.Job
{
    public class HeartJob : IJob
    {
        private ILog logger = LogManager.GetLogger(typeof(CleanJob));
        public void Execute(IJobExecutionContext context)
        {
            var time = DateTime.Now.ToLongTimeString();
            SessionManager.SendAll("服务器返回，当前时间:" + time);
            logger.Info("完成一次客户端回复：" + time);
        }
    }
}